import java.io.File;

	class ZipFilter extends javax.swing.filechooser.FileFilter {
		///this filter accept zip files only
	    public boolean accept(File f) {
	        return (f.isDirectory() || f.getName().toLowerCase().endsWith(".zip"));
	    }   
	    public String getDescription() {
	        return "*.zip files";
	    }
	}
